package physics;
import graphics.Node;

public class Circle extends PhysicsObject {
	
	float radius;
	float red;
	float green;
	float blue;

	public Circle(float radius, final Node graphic) {
		this(radius, (float)Math.random(), (float)Math.random(), (float)Math.random(), graphic);
	}
	
	public Circle(float radius, float red, float green, float blue, final Node graphic) {
		inverseMomentOfInertia = 1 / (float)(Math.PI * Math.pow(radius, 4) / 4);
		this.radius = radius;
		this.red = red;
		this.green = green;
		this.blue = blue;
		renderable = graphic;
	}
}